<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>登陆</title>
</head>
<body>
<h1>登陆</h1>
<div th:if="${param.error}">
    错误的用户名和密码！
</div>
<form th:action="@{/login}" method="post">
    <div><input type="text" name="name" placeholder="用户名"></div>
    <div><input type="text" name="pwd" placeholder="密码"></div>
    <input type="submit" value="登陆">
</form>
</body>
</html>
